/**  
* @Title:  TaskInfoSupplementBean.java
* @Package com.hugedata.cdn.service.task.bean
* @Description: TODO(用一句话描述该文件做什么)
* @author wangxiaoming
* @date  Jan 26, 2015 4:19:22 PM
* @version V1.0  
* Update Logs:
* ****************************************************
* Name:
* Date:
* Description:
******************************************************
*/
package com.hugedata.cdn.service.task.bean;

/**
 * @ClassName: TaskInfoSupplementBean
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author wangxiaoming
 * @date Jan 26, 2015 4:19:22 PM
 *
 */
public class TaskInfoSupplementBean
{
    private int id;
    
    private int taskId;
    
    private int userId;
    
    //测评时长 分钟
    private int testtime;
    
    //检测频率分钟
    private int frequency;
    
    //报警设置： dns时间   json
//    格式
//    "dns”:{"reference":"5","refer":"-1","performance":"","area":"0"}
//    reference performance 为空表示不选
//    refer 0 表当前; -1 表前一天
//    area 0表全国；1表省份
    private String dns;
    
    //报警设置： tcp时间 json  格式形如dns
    private String tcp;
    
    //报警设置： 首包时间 json  格式形如dns
    private String firstbag;
    
    //报警设置： 剩余包时间   json  格式形如dns
    private String otherbag;
    
    //报警设置： 下载总时间 json  格式形如dns
    private String loadtime;
    
    //可用性
    private int usability;
    
    //区域主机匹配度
    private int areamatching;
    
    //ISP主机匹配度
    private int ispmatching;
    
    //服务器错误 0未选择 1选择
    private int servererror;
    
    //网络错误  0未选择 1选择
    private int neterror;
    
    //错误报警    0:xxx代表 按发生错误检测点数量报警    1:xxx代表按发生错误检测点占比
    private String errorwarn;
    
    //
    private int intervals;
    
    //联系人信息（json数组）
    private String userInfo;

    /**
     * @return id
     */
    public int getId()
    {
        return id;
    }

    /**
     * @param id 要设置的 id
     */
    public void setId(int id)
    {
        this.id = id;
    }

    /**
     * @return taskId
     */
    public int getTaskId()
    {
        return taskId;
    }

    /**
     * @param taskId 要设置的 taskId
     */
    public void setTaskId(int taskId)
    {
        this.taskId = taskId;
    }

    /**
     * @return userId
     */
    public int getUserId()
    {
        return userId;
    }

    /**
     * @param userId 要设置的 userId
     */
    public void setUserId(int userId)
    {
        this.userId = userId;
    }

    /**
     * @return testtime
     */
    public int getTesttime()
    {
        return testtime;
    }

    /**
     * @param testtime 要设置的 testtime
     */
    public void setTesttime(int testtime)
    {
        this.testtime = testtime;
    }

    /**
     * @return frequency
     */
    public int getFrequency()
    {
        return frequency;
    }

    /**
     * @param frequency 要设置的 frequency
     */
    public void setFrequency(int frequency)
    {
        this.frequency = frequency;
    }

    /**
     * @return dns
     */
    public String getDns()
    {
        return dns;
    }

    /**
     * @param dns 要设置的 dns
     */
    public void setDns(String dns)
    {
        this.dns = dns;
    }

    /**
     * @return tcp
     */
    public String getTcp()
    {
        return tcp;
    }

    /**
     * @param tcp 要设置的 tcp
     */
    public void setTcp(String tcp)
    {
        this.tcp = tcp;
    }

    /**
     * @return firstbag
     */
    public String getFirstbag()
    {
        return firstbag;
    }

    /**
     * @param firstbag 要设置的 firstbag
     */
    public void setFirstbag(String firstbag)
    {
        this.firstbag = firstbag;
    }

    /**
     * @return otherbag
     */
    public String getOtherbag()
    {
        return otherbag;
    }

    /**
     * @param otherbag 要设置的 otherbag
     */
    public void setOtherbag(String otherbag)
    {
        this.otherbag = otherbag;
    }

    /**
     * @return loadtime
     */
    public String getLoadtime()
    {
        return loadtime;
    }

    /**
     * @param loadtime 要设置的 loadtime
     */
    public void setLoadtime(String loadtime)
    {
        this.loadtime = loadtime;
    }

    /**
     * @return usability
     */
    public int getUsability()
    {
        return usability;
    }

    /**
     * @param usability 要设置的 usability
     */
    public void setUsability(int usability)
    {
        this.usability = usability;
    }

    /**
     * @return areamatching
     */
    public int getAreamatching()
    {
        return areamatching;
    }

    /**
     * @param areamatching 要设置的 areamatching
     */
    public void setAreamatching(int areamatching)
    {
        this.areamatching = areamatching;
    }

    /**
     * @return ispmatching
     */
    public int getIspmatching()
    {
        return ispmatching;
    }

    /**
     * @param ispmatching 要设置的 ispmatching
     */
    public void setIspmatching(int ispmatching)
    {
        this.ispmatching = ispmatching;
    }

    /**
     * @return servererror
     */
    public int getServererror()
    {
        return servererror;
    }

    /**
     * @param servererror 要设置的 servererror
     */
    public void setServererror(int servererror)
    {
        this.servererror = servererror;
    }

    /**
     * @return neterror
     */
    public int getNeterror()
    {
        return neterror;
    }

    /**
     * @param neterror 要设置的 neterror
     */
    public void setNeterror(int neterror)
    {
        this.neterror = neterror;
    }

    /**
     * @return errorwarn
     */
    public String getErrorwarn()
    {
        return errorwarn;
    }

    /**
     * @param errorwarn 要设置的 errorwarn
     */
    public void setErrorwarn(String errorwarn)
    {
        this.errorwarn = errorwarn;
    }

    /**
     * @return intervals
     */
    public int getIntervals()
    {
        return intervals;
    }

    /**
     * @param intervals 要设置的 intervals
     */
    public void setIntervals(int intervals)
    {
        this.intervals = intervals;
    }

    /**
     * @return userInfo
     */
    public String getUserInfo()
    {
        return userInfo;
    }

    /**
     * @param userInfo 要设置的 userInfo
     */
    public void setUserInfo(String userInfo)
    {
        this.userInfo = userInfo;
    }

    /* (非 Javadoc)
    * <p>Title: toString</p>
    * <p>Description: </p>
    * @return
    * @see java.lang.Object#toString()
    */
    @Override
    public String toString()
    {
        return "TaskInfoSupplementBean [id=" + id + ", taskId=" + taskId
                + ", userId=" + userId + ", testtime=" + testtime
                + ", frequency=" + frequency + ", dns=" + dns + ", tcp=" + tcp
                + ", firstbag=" + firstbag + ", otherbag=" + otherbag
                + ", loadtime=" + loadtime + ", usability=" + usability
                + ", areamatching=" + areamatching + ", ispmatching="
                + ispmatching + ", servererror=" + servererror + ", neterror="
                + neterror + ", errorwarn=" + errorwarn + ", intervals="
                + intervals + ", userInfo=" + userInfo + "]";
    }
    
}
